How are status codes used?

The status code indicates the processed state of an object as it moves through the Assembly Line.

Typically, at the start of each step, the state is set to #11. When the Scheduler provides the work to the next worker or step in the process, the state is set to #21. When the worker begins the activity and processes the object, the state changes to #31. At the end of each process, the state is set to: an error code, #41, or to the ready state of the next step in the process.

 

This code

Indicates

#00

Not Ready or On Hold

#01

Pending

#11

Ready

415

Is special “Batch Processing” means a batch is collecting recipients until scheduled to run.

#21

Scheduled

#31

Processing

#41

Error

#88

Cancelled

#90

Processed

999

All Complete

This table shows the object status code values and what process or event sets the status code:

 

Object

Status code

Description

Used to

Set by

Value found in

JOBS

0

Job Not Ready

Initial status for the job, set when the job is first initiated

Database default

JOBSTATUS

JOBS

101

Job Pending

Temporary status of the job just after creation prior to the identification of the transactions

Receiver

JOBSTATUS

JOBS

111

Job Ready (Identifier-Ready)

Scheduler looks for this value in the JOBSTATUS to determine when to notify the Identifier that a job is ready to be split into individual TRNS

Receiver

JOBSTATUS

JOBS

121

Job Scheduled (Identifier-In Progress)

Value that the Scheduler sets after it has retrieved the job and sent the JOB_ID to the Identifier queue (bus) for processing

Scheduler

JOBSTATUS

JOBS

131

Job Processing (Identifier- ACK)

Alerts the user that the Identifier activity is in process on the job. Also, monitored by the Scheduler to indicate a length of time in which processing should be completed.

Identifier, during the process of create the TRNS. The initial state of the TRNS record when created is 201.

JOBSTATUS

JOBS

141

Job Error (Identifier-Error)

Indicates that a processing error occurred

Identifier*

JOBSTATUS

JOBS

211

Assembly Ready (Assembler-Ready)

Scheduler looks for this value in the JOBSTATUS to know when to notify the Assembler that a TRNS associated with a job are ready for document creation by triggering forms and mapping fields

Identifier

JOBSTATUS, TRNSTATUS

JOBS

290

Assembly Processed

Alerts the user that the Assembler has completed processing all TRNS associated with the job

Database trigger

JOBSTATUS

JOBS

311

Distribution Ready (Distributor Ready)

Alerts the user that the Scheduler has submitted a TRNS associated with the job to the Distributor.

Database trigger

JOBSTATUS

JOBS

341

Distribution Error (Distributor-Error)

Alerts the user that the Distributor process has experienced an error.

Database trigger

JOBSTATUS

JOBS

390

Distribution Processed (Distributor-Complete)

Alerts the user that the Distributor process is complete and all RCPS have been created.

Database triggers

JOBSTATUS

JOBS

411

Batching Ready (Presenter-Ready)

Alerts the user that the Scheduler has submitted RCPS associated with the job to the Presenter to batch the recipient.

Database triggers

JOBSTATUS

JOBS

441

Presentation Error (Presenter-Error)

Alerts the user that the Presenter process has experienced an error.

Database triggers

JOBSTATUS

JOBS

490

Presentation Completed

(Presenter-Complete)

Alerts the user that the Distributor process is complete and all PUBS have been created.

Database triggers

JOBSTATUS

JOBS

541

Archive Error

(Archiver-Error)

Alerts the user that the Archiver process has experienced an error for a RCP within a BCH.

Database trigger

JOBSTATUS

JOBS

999

All Completed

(Processing-Complete)

Alerts the user that all processing for the job is complete.

Database triggers

JOBSTATUS

TRNS

190

Job Processed (Identifier-Complete)

Default value assigned to the TRNS when added to the database, soon updated to 201

Database default

TRNSTATUS

(Is the JOBSTATUS also set to this?)

TRNS

201

Assembly-Pending

Initial status assigned to a TRNS identified from a job

Identifier

TRNSTATUS

TRNS

211

Assembly Ready

(Assembler-Ready)

Alerts the Scheduler that the TRNS is ready for form triggering and mapping

Identifier

TRNSTATUS

TRNS

221

Assembly Scheduled

(Assembler-In Progress)

Specific TRNS_ID has been sent to the Assembler process by the Scheduler

Scheduler

TRNSTATUS

TRNS

231

Assembly Processing

(Assembler-ACK)

Alerts the user that the Assembler activity is in process on the TRNS. Also, monitored by the Scheduler to indicate a length of time in which processing should be completed.

Assembler

TRNSTATUS

TRNS

241

Assembly Error (Assembler – Error)

Indicates that a processing error occurred

Assembler*

 

TRNS

290

Assembly Processed

Assigned with Assembler is completed,

Database triggers

TRNSTATUS

TRNS

301

Distribution-Pending

When all TRNS to be processed for a job are set to 290, they are then ready for Distributor.

Database triggers

TRNSTATUS

TRNS

311

Distributor-Ready

Scheduler looks for this value in the TRNSTATUS to know when to notify the Distributor that TRNS associated with a job are ready for distribution to the designated recipients (Create the RCPS records)

Assembler

TRNSTATUS

TRNS

321

Distribution Scheduled

(Distributor – In Progress)

Specific TRNS_ID has been sent to the Distributor process by the Scheduler

Scheduler

TRNSTATUS

TRNS

331

Distribution Processing

(Distributor – ACK)

Alerts the user that the Distributor activity is in process on the TRNS. Also, monitored by the Scheduler to indicate a length of time in which processing should be completed.

Distributor

TRNSTATUS

TRNS

341

Distribution Error (Distributor-Error)

Indicates that a processing error occurred

Distributor*

TRNSTATUS

TRNS

390

Distribution Processed

Indicates that the distribution process successfully completed.

Distributor

TRNSTATUS

TRNS

401

Batching Pending

(Batch Created)

Initial default batches created for the recipients of the transaction

Distributor

TRNSTATUS

TRNS

411

Batching Ready

(Presenter-Ready)

Scheduler looks for this value in the TRNSTATUS to know when to notify the Presenter that TRNS associated with a job are ready for presentation (print stream creation) (Create the PUBS records)

Distributor

TRNSTATUS, RCPSTATUS

TRNS

415

Batching Processing

(Batcher-In Progress)

Indicates that the first step of the Present, Archive, Publish, Notification process is underway. Batcher activity is monitored by the Scheduler to set the next status.

Batcher

TRNSTATUS, BCHSTATUS

BCHS

421

Presentation Scheduled

(Presenter – In Progress)

Specific BCH_ID has been sent to the Presenter process by the Scheduler

Scheduler

BCHSTATUS

BCHS

431

Presentation Processing

(Presenter – ACK)

Alerts the user that the Presenter activity (including Archive, Publication, and Notification) is in process on the BCHS. Also, monitored by the Scheduler to indicate a length of time in which processing should be completed.

Presenter

TRNSTATUS (note – the TRNSTATUS will stay at this state during the Archive, Publish, Notify activities and will only move to 441 Presenter – Error or 999 –Complete when all designated activities have occurred on all BCHS associated with the TRNS)

TRNS

441

Presentation Error

(Presenter-Error)

Indicates that a processing error occurred

Presenter*

TRNSTATUS

TRNS

490

Presentation-Completed

Presenter has finished creating recipients and linking recipients

Presenter

TRNSTATUS

TRNS

541

Archive Error

(Archiver-Error)

Indicates that a processing error occurred

Database trigger

TRNSTATUS

RCPS

411

Batching Ready

(Presenter-Ready)

Scheduler looks for this value when processing the BCH to determine if the Recipient can is ready for the Presenter

Database default

RCPSTATUS

RCPS

999

All Completed

Signal that all the RCPS associated with the BCH have completed processing

Database trigger

RCPSTATUS

BCHS

401

Batching Pending

Default value assigned when the BCH is created

Database default

BCHSTATUS

BCHS

421

Presentation Scheduled

(Presenter – In Progress)

Specific BCH_ID has been sent to the Presenter process by the Scheduler

Scheduler

BCHSTATUS

BCHS

431

Presentation Processing

(Presenter – ACK)

Alerts the user that the Presenter activity (including Archive, Publication, and Notification) is in process on the BCHS. Also, monitored by the Scheduler to indicate a length of time in which processing should be completed.

Presenter

TRNSTATUS (note – the TRNSTATUS will stay at this state during the Archive, Publish, Notify activities and will only move to 441 Presenter – Error or 999 –Complete when all designated activities have occurred on all BCHS associated with the TRNS)

BCHS

441

Presentation Error

(Presenter – Error)

Error when creating the print stream associated with the BCH

Presenter

BCHSTATUS

BCHS

490

Presentation Completed

(Presenter Complete)

Presenter completed BCH processing

Presenter

BCHSTATUS

BCHS

501

Archive Pending

 

 

 

BCHS

511

Archive Ready

(Archiver-Ready)

Scheduler looks for this value in the BCHSTATUS to know when to notify the Archiver that BCHS associated with a TRNS are ready for Archive.

Presenter

BCHSTATUS

BCHS

521

Archive Scheduled

(Archiver – In Progress)

Specific BCHS_ID has been sent to the Archiver process by the Scheduler

Scheduler

BCHSTATUS

BCHS

531

Archive Processing

(Archiver – ACK)

Alerts the user that the Archive activity is in process on the BCHS. Also, monitored by the Scheduler to indicate a length of time in which processing should be completed.

Archiver

BCHSTATUS

BCHS

541

Archive Error

(Archiver-Error)

Indicates that a processing error occurred

Archiver *

BCHSTATUS

BCHS

590

Archive Complete

Denotes that Archiving is complete for the BCH

Archiver

BCHSTATUS

BCHS

601

Publication Pending

 

 

 

BCHS

611

Publication Ready

(Publisher-Ready)

Scheduler looks for this value in the BCHSTATUS to know when to notify the Publisher that BCHS associated with a TRNS are ready for publishing.

Archiver (or Scheduler if the Archive process is disabled)

BCHSTATUS

BCHS

621

Publication Scheduled

(Publisher-In Progress)

Specific BCHS_ID has been sent to the Publisher process by the Scheduler

Scheduler

BCHSTATUS

BCHS

631

Publication Processing

(Publisher-ACK)

Alerts the user that the Publishing activity is in process on the BCHS. Also, monitored by the Scheduler to indicate a length of time in which processing should be completed.

Publisher

BCHSTATUS

BCHS

641

Publication Error

(Publisher-Error)

Indicates that a processing error occurred

Publisher*

BCHSTATUS

BCHS

690

Publication Complete

(Publisher-Complete)

Indicates that the Publisher has successfully completed processing the BCH.

Publisher

BCHSTATUS

BCHS

701

Notification - Pending

 

 

 

BCHS

711

Notification Ready

(PubNotifier-Ready)

Scheduler looks for this value in the BCHSTATUS to know when to notify the PubNotifier that RCPS associated with a BCHS are ready for Publication Notification.

Publisher (or Scheduler if the Publisher process is disabled)

BCHSTATUS

BCHS

721

Notification Scheduled

(PubNotifier-In Progress)

Specific BCHS_ID has been sent to the PubNotifier process by the Scheduler

Scheduler

BCHSTATUS

BCHS

731

Notification Processing

(PubNotifier-ACK)

Alerts the user that the Publication Notification activity is in process on the BCHS. Also, monitored by the Scheduler to indicate a length of time in which processing should be completed.

PubNotifier

BCHSTATUS

BCHS

741

Notification Error (PubNotifier-Error)

Indicates that a processing error occurred

PubNotifier

BCHSTATUS

BCHS

790

Notification Complete

(PubNotifier-Complete)

Indicates that the Notification process has successfully completed for the BCH.

PubNotifier

BCHSTATUS

PUBS

490

 

 

 

PUBSTATUS

PUBS

511

 

 

 

PUBSTATUS

PUBS

611

 

 

 

PUBSTATUS

PUBS

711

 

 

 

PUBSTATUS

PUBS

999

 

 

 

PUBSTATUS

BCHS->
RCPS->
TRNS->
JOBS

888

Cancelled

Indicates processing of the object has been manually cancelled

Manual

BCHSTATUS, TRNSTATUS, JOBSTATUS

PUBS->
BCHS->
RCPS->
TRNS->
JOBS

999

Processing Complete

Indicates that processing of the object is complete

PubNotifier, (or Scheduler if the PubNotifier process is disabled)

BCHSTATUS, TRNSTATUS, JOBSTATUS

* Error codes can also be set by the Scheduler if communication with the worker bus/queue timed out or was unable to be generated, but workers are typically the source of error updates.